<style type="text/css">
    .title_name{
        width:400px;display:block;
        overflow: hidden;
    }
</style>
<div class="panel panel-default panel-intro">
    {:build_heading()}
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-primary btn-complete" title="{:__('完成')}"><i class="fa fa-check"></i> 完成</a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap" width="100%" data-code="{$code}" data-id="{$subject_id}" data-select="{$select}"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<script id="unit_tpl" type="text/html">
    <div class="row">
        <div class="col-xs-4">
            <div class="form-inline" data-toggle="cxselect" data-selects="top,second,third">
                <select class="top form-control" name="top" data-url="yexam/unit/cxselect?type=top&subject_id={$subject_id}" style="width: 100px;overflow: hidden;"></select>
                <select class="second form-control" name="second" data-url="yexam/unit/cxselect?type=second&subject_id={$subject_id}" data-query-name="pid" style="width: 100px;"></select>
                <select class="third form-control" name="third" data-url="yexam/unit/cxselect?type=third&subject_id={$subject_id}" data-query-name="pid" style="width: 100px;"></select>
                <input type="hidden" class="operate" data-name="unit_id" value="=" />
            </div>
        </div>
    </div>
</script>
